//
//  ProjectView.h
//  nova
//
//  Created by user on 11/05/29.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Project.h"
#import "novaAppDelegate.h"
#import "PickerView.h"
#import "DataContext.h"
#define myAppDelegate (novaAppDelegate *) [[UIApplication sharedApplication] delegate]
#define textColor = [UIColor whiteColor];


@class Project;
@class DataContext;

@interface ProjectView : UIViewController {
	Project *project;
	IBOutlet UITextField *txtName;
	IBOutlet UIButton *btStartDate;
	IBOutlet UIButton *btFinishDate;
	IBOutlet UIButton *btStatusDate;
	IBOutlet UIButton *btStatus;
	IBOutlet UITextView *txtDescription;
	IBOutlet UIProgressView *progress;
	IBOutlet UILabel *progressLabel;
	IBOutlet UIScrollView *scroll;
	IBOutlet UIView *backgroundView;
	
}
@property (assign) Project * project;

-(IBAction) btStartDateClick : (id) sender;
-(IBAction) btFinishDateClick : (id) sender;
-(IBAction) btStatusDateClick : (id) sender;
-(IBAction) btStatusClick : (id) sender;
-(IBAction) btCancelClick : (id) sender;
-(IBAction) btSave : (id) sender;
-(IBAction) txtNameChanged : (id) sender;
-(IBAction) backgroundClicked : (id) sender;

-(void) initObjects;
@end
